import { Component } from "./Component"

export class Panel {
    // uid
    public uid = "123da235-2986-49fd-8f29-aaa740ee513c"
    // ui类型 Panel
    public type = 2
    // 名称
    public name = "panel_2"
    // 游戏中是否可见
    public visible = true
    // 页面层级 默认400
    public zorder = 400
    //透明度 0~1 -> 0~100
    public opacity = 1.0

    // 编辑器是否可见 左侧列表
    public editor_visible = true

    // 子节点
    public children:Array<Component> = []
}